<?php

    $a = 1;
    $b = 2;
    $c = $a + $b; // 3

    print_r($GLOBALS);  // 是一个关联数组
    echo "<br>";

    echo $GLOBALS["a"];
    echo "<br>";

    echo $GLOBALS["b"];
    echo "<br>";
?>